// 正式
const http = 'https://syjmd.lnxinlongjia.com';
const CRMHost = "https://crm.xinlongjia.net"
// 测试
// const http = 'https://ceshi.syjmd.lnxinlongjia.com';
// const CRMHost = "https://testcrm.xinlongjia.net"

const reqUrls = {
  miniLogin: `${CRMHost}/api/service/apiservice/GetAlipayMiniOpenId`,
  getBindMemberCardPhone: `${CRMHost}/api/service/apiservice/GetBindMemberCardPhone`,
  CheckAlipaySendNewCard: `${CRMHost}/api/service/apiservice/CheckAlipaySendNewCard`,
  getAlipayMemberCardBindStatus: `${CRMHost}/api/service/apiservice/GetAlipayMemberCardBindStatus`,
  alipayMemberCardBind: `${CRMHost}/api/service/apiservice/AlipayMemberCardBind`,
  AlipayMemberCardUnbind: `${CRMHost}/api/service/apiservice/AlipayMemberCardUnbind`,
  AlipayMemberCardBindSendSMSCode: `${CRMHost}/api/service/apiservice/AlipayMemberCardBindSendSMSCode`,
  AlipayMemberCardBindCheckSMSCode: `${CRMHost}/api/service/apiservice/AlipayMemberCardBindCheckSMSCode`,
  // 会员
  createVirtualMember: `${http}/index.php/api/membercard/createVirtualMember`,
  newHomePage: `${http}/api/Index/newHomePage`,
  getStoreClass: `${http}/api/goods/getStoreClass`,
  getGoodsByLevel2Cat: `${http}/api/Goods/getGoodsByLevel2Cat`,
  getMiniPhone: `${http}/api/User/getMiniPhone`,
  userInfo: `${http}/api/User/userInfo`,
  getUserMemberInfo: `${http}/api/User/getUserMemberInfo`,
  uploadHeadPic: `${http}/api/User/uploadHeadPic`,
  setHeadPic: `${http}/api/User/setHeadPic`,
  setNickname: `${http}/api/User/setNickname`,
  bindMiniPhone: `${http}/api/User/bindMiniPhone`,
  getOfflinePayDetail: `${http}/api/Membercard/getOfflinePayDetail`,
  getRegisterMemberSelectAddress: `${http}/api/membercard/getRegisterMemberSelectAddress`,
  getRechargePayMoneyAmount: `${http}/api/membercard/getRechargePayMoneyAmount`,
  refreshMember: `${http}/api/User/refreshMember`,
  getUserMember: `${http}/api/User/getUserMember`,
  myGiftCoupon: `${http}/api/User/myGiftCoupon`,

  // 会员
  membercardShow: `${http}/api/Membercard/show`,
  getInMoneyType: `${http}/api/Membercard/getInMoneyType`,
  rechargeDopay: `${http}/api/Membercardalipay/dopay`,
  applyVirtualCard: `${http}/api/membercard/applyVirtualCard`,
  hasMemberCard: `${http}/api/membercard/hasMemberCard`,
  getCouponList: `${http}/index.php/api/membercard/getCouponList`,
  getMemberMoneyOrderList: `${http}/api/membercard/getMemberMoneyOrderList`,
  getOfflinePay: `${http}/api/membercard/getOfflinePay`,
  getCardNumberCode: `${http}/api/membercard/getCardNumberCode`,
  unbindmember: `${http}/api/membercard/unbindmember`,
  getVirtualCardList: `${http}/index.php/api/membercard/getVirtualCardList`,
  membercardBind: `${http}/api/Membercard/bind`,
  getmembermoneyorder: `${http}/api/membercard/getmembermoneyorder`,
  checkOrder: `${http}/api/membercard/checkOrder`,
  offlineOrderList: `${http}/api/Offlineorder/getList`,
  getOfflineOrderDetailList: `${http}/api/Offlineorder/getDetail`,
  getGoodsCouponList: `${http}/api/user/getCouponList`,
  getLicensePlate: `${http}/api/Licenseplate/getLicensePlate`,
  addLicensePlate: `${http}/api/Licenseplate/addLicensePlate`,
  delLicensePlate: `${http}/api/Licenseplate/delLicensePlate`,
  getTips: `${http}/api/Licenseplate/getTips`,
  receiveParkingCoupon: `${http}/api/Licenseplate/receiveParkingCoupon`,
  getParkingCouponList: `${http}/api/Licenseplate/getParkingCouponList`,
}
module.exports = {
  reqUrls,
  http
}